<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<link href="/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="/css/font-awesome.css?v=4.4.0" rel="stylesheet">
<link href="/css/animate.css" rel="stylesheet">
<link href="/css/layui.css" rel="stylesheet">
<link href="/css/style.css?v=4.1.0" rel="stylesheet">
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <!--<div class="form-group">-->
                            <!--<label class="col-sm-3 control-label">店铺id：</label>-->
                            <!--<div class="col-sm-8">-->
                                <!--<input id="shopId" name="shopId" class="form-control" type="text">-->
                            <!--</div>-->
                        <!--</div>-->
                        <div class="form-group">
                            <label class="col-sm-3 control-label">菜品名称：</label>
                            <div class="col-sm-8">
                                <input id="dishName" name="dishName" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">菜品口味：</label>
                            <div class="col-sm-8">
                                <input id="dishDescribe" name="dishDescribe" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">美食图片：</label>
                            <!--<fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">-->
                            <!--</fieldset>-->
                            <!--<div class="col-sm-8">-->
                            <!--<button type="button" class="layui-btn" id="test2">图片上传</button>-->
                            <!--<blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">-->
                            <!--预览图：-->
                            <!--<div class="layui-upload-list" id="demo2"></div>-->
                            <!--</blockquote>-->
                            <!--</div>-->
                            <div class="col-sm-8">
                                <button type="button" class="layui-btn layui-btn-normal" id="testList">选择图片</button>
                                <button type="button" class="layui-btn layui-btn-normal" id="shangchuan_dish">上传图片
                                </button>
                                <div class="layui-upload-list">
                                    <table class="layui-table">
                                        <thead>
                                        <tr>
                                            <th>图片名字</th>
                                            <th>大小</th>
                                            <th>状态</th>
                                            <th>操作</th>
                                        </tr>
                                        </thead>
                                        <tbody id="demoList"></tbody>
                                    </table>
                                </div>
                                <!--<button type="button" class="layui-btn" id="testListAction">开始上传</button>-->
                            </div>
                        </div>
                        <input type="text" id="imgUrls" name="dishPhotos" style="display: none;" class="layui-input">

                        <div class="form-group">
                            <label class="col-sm-3 control-label">菜品分类：</label>
                            <div class="col-sm-8">
                                <input id="type" name="type" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">吃法：</label>
                            <div class="col-sm-8">
                                <input id="eatMethod" name="dishDetail" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">菜品价格：</label>
                            <div class="col-sm-2">
                                <input id="rackPrice" name="rackPrice" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">优惠价格：</label>
                            <div class="col-sm-2">
                                <input id="specialPrice" name="specialPrice" class="form-control" type="text">
                            </div>
                        </div>
                        <!--<div class="form-group">
                            <label class="col-sm-3 control-label">创建时间：</label>
                            <div class="col-sm-8">
                                <input id="createTime" name="createTime" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">修改时间：</label>
                            <div class="col-sm-8">
                                <input id="updateTime" name="updateTime" class="form-control" type="text">
                            </div>
                        </div>-->
                        <div class="form-group">
                            <label class="col-sm-3 control-label">菜品介绍：</label>
                            <div class="col-sm-8">
                                <!-- <input id="scenicintro" name="scenicintro" class="form-control" type="text">-->
                                <textarea id="demo" style="display: none;"></textarea>
                            </div>
                        </div>
                        <input type="text" id="dishDetail" name="dishDetail" style="display: none;" class="layui-input">

                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-6">
                                <button type="submit" class="btn btn-primary" onclick="addDishRoom()">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>

<script src="/js/content.js?v=1.0.0"></script>
<script src="/js/layui.js"></script>
<script src="/js/plugins/clipboard/clipboard.min.js"></script>
<script src="/js/plugins/layer/layer.min.js"></script>
<script type="text/javascript" src="/js/appjs/farm/farmDish/add.js"></script>
</body>
</html>
